<?php


function geturlopts(){
	$url="http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
	$query_str = parse_url($url,PHP_URL_QUERY);
	parse_str($query_str,$elements);
	global $gRandomNews;
	
	if($elements['randomnews'] == true) {
		$gRandomNews = true;
		//echo '<h4>1. random news is true</h4>';
	}
}
?>